<?php
return array(
	//'配置项'=>'配置值'
	'URL_MODEL'=>2,
	'SHOW_PAGE_TRACE'=>true,
	
	'APP_GROUP_LIST'=>'Admin',
	'DEFAULT_GROUP'=>'Admin',
	'DEFAULT_MODULE'     => 'Admin', //默认模块
	'DEFAULT_CONTROLLER'=>'Public',

	//数据库配置
    'DB_TYPE'=>  'mysql',     // 数据库类型
	'DB_HOST'=>'127.0.0.1',
	'DB_NAME'=>'warehouse',
	'DB_USER'=>'root',
	'DB_PWD'=>'root',
	'DB_PREFIX'=>'think_',
	
	//远程数据库连接
	// 'DB_TYPE'=>  'mysql',     // 数据库类型
	// 'DB_HOST'=>'rdsm57u6gu3lzvlv1a3kc.mysql.rds.aliyuncs.com',
	// 'DB_NAME'=>'r0fwg2d155k5hm6x',
	// 'DB_USER'=>'think',
	// 'DB_PWD'=>'644129904',
	// 'DB_PREFIX'=>'think_',

    'URL_CASE_INSENSITIVE' =>true,

	//权限认证配置
    'AUTH_CONFIG'=>array(
        'AUTH_ON'           => true,                      // 认证开关
        'AUTH_TYPE'         => 1,                         // 认证方式，1为实时认证；2为登录认证。
        'AUTH_GROUP'        => 'think_authgroup',        // 用户组数据表名
        'AUTH_GROUP_ACCESS' => 'think_access', // 用户-用户组关系表
        'AUTH_RULE'         => 'think_authrule',         // 权限规则表
        'AUTH_USER'         => 'think_manager'
    ),
    'USER_AUTH_KEY'     =>'uid',
    // 默认无需认证模块
    'NOT_AUTH_MODULE'   => 'Admin/Customer/lookup,Admin/Public/login,Admin/Public/index,Admin/Public/logout,Admin/Public/verify,Admin/Public/checkVerify,Admin/Public/repwd,Admin/Index/index,Admin/Goods/lookup,Admin/Goods/lookupSuggest,Admin/Depot/lookup,Admin/Depot/lookupSuggest,Admin/Depot/lookupAll,Admin/Depot/lookupSuggestAll,Admin/Supplier/lookup,Admin/Supplier/lookupSuggest,Admin/Account/lookup'	
);